# pip3 install -U wxPython

import wx 
app=wx.App()
form=wx.Frame(None,title='hello world')
text1 = wx.TextCtrl(form, pos=(10,10),size=(80,25))
labelAdd=wx.StaticText(form,label="+", pos=(140,10),size=(20,25))
# labelAdd.SetForegroundColour('white')  
# labelAdd.SetBackgroundColour('black')  
text2 = wx.TextCtrl(form, pos=(200,10),size=(80,25))

btnEqual=wx.Button(form,label="=",pos=(140,60),size=(30,25))
text3 = wx.TextCtrl(form, pos=(200,60),size=(80,25))

def buttonClick(event):
 v1=text1.GetValue()
 v2=text2.GetValue()
 result=int(v1)+int(v2)
 text3.SetValue(str(result))

btnEqual.Bind(wx.EVT_BUTTON, buttonClick)
form.Show()
app.MainLoop()